{template 'member', 'header'}
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}member_common.js"></script>
<script type="text/javascript" src="{JS_PATH}formvalidator.js" charset="UTF-8"></script>
<script type="text/javascript" src="{JS_PATH}formvalidatorregex.js" charset="UTF-8"></script>
<div id="memberArea">
{template 'member', 'left'}
    <div class="col-auto">
	{pc:announce action="lists" num="1" siteid="$memberinfo[siteid]" cache="3600"}
		{loop $data $r}
		{php $announceid = $r[aid];}
    	<div class="point" id='announcement' style="display:none">
        	<a href="javascript:hide_element('announcement');setcookie('announcement_{$memberinfo[userid]}_{$r[aid]}', 1);" hidefocus="true" class="close"><span>{L('close')}</span></a>
            <div class="content">
					<strong class="title">{$r[title]}</strong>
					<p>{$r[content]}</p>
            </div>
            <span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
        </div>
		{/loop}
	{/pc}
    	<div class="col-auto">
        <div class="bk10"></div>

            <div class="col-1 ">
            	<h5 class="title">{L('package')}</h5>
            	<div class="content">
					<div style="width: 100%;">
						<p style="font-size: 14px; color: #333333; line-height: inherit;">{L('readpacjk_desc')}</p>
			       </div>
					<div style="width: 100%;">
						<table width="100%" height="30" border="0" align="center"
							cellpadding="0" cellspacing="0" class="dixian">
							<tr>
								<td height="50" align="left"><p
										style="font-size: 16px; color: #000065; font-weight: bold; line-height: inherit; font-style: italic;">Please
										choose subscription period/如需购买，请选择订购期限：</p>
									{if $infos }
									<p
										style="font-size: 12px; color: #FF6600; line-height: inherit;">上次购买时间：{date("Y-m-d",$starttime)}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当前到期时间：{date("Y-m-d", $endtime)}</p>
										{/if}
										</td>
							</tr>
						</table>
						<form method="post" action="index.php?m=pay&c=deposit&a=pay" id="myform">
						<table width="467" border="0" align="center" cellpadding="0"
							cellspacing="0" class="zit02">
							<tr>
								<td width="415" height="38" align="left">One
									year:RMB190(US$31)/一年：190元人民币（31美元）</td>
								<td width="52" align="left"><label> <input
										type="radio" name="radiobutton"  id="radiobutton2" value="{php echo pc_base::load_config('readpack','1')}" />
								</label></td>
							</tr>
							<tr>
								<td height="38" align="left">Two
									year:RMB290(US$47)/二年：290元人民币（47美元）</td>
								<td align="left"><label> <input type="radio"
										name="radiobutton"  id="radiobutton" value="{php echo pc_base::load_config('readpack','2')}" />
								</label></td>
							</tr>
							<tr>
							   <td colspan="2"  align="left"><div id="radiobuttonTip" style="width:250px"></div></td>
							</tr>
							<tr>
								<td height="56" colspan="2" align="center">
								<input type="submit" name="dosubmit" value="" class="buttj" />
								</td>
							</tr>
						</table>
						</from>
					</div>
				</div>
            	<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
<script type="text/javascript" src="{JS_PATH}cookie.js"></script>
<script language="JavaScript">
<!--
$(document).ready(function() {
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$(":radio[name='radiobutton']").formValidator({tipid:"radiobuttonTip",onshow:"请选择你的阅读套餐",onfocus:"没有第三种阅读套餐！！！",oncorrect:"输入正确",defaultvalue:["1"]}).inputValidator({min:1,max:1,onerror:"阅读套餐,请确认"});//.defaultPassed();
	var announcement = getcookie('announcement_{$memberinfo[userid]}_{$announceid}');
	if(announcement==null || announcement=='') {
		$("#announcement").fadeIn("slow");
	}
});
//-->
</script>
{template 'member', 'footer'}